import request from "@/utils/request";
//版本列表
export function sysUpgradeList(data) {
  return request({
    method: "post",
    url: "/waste/sysUpgrade/getList",
    data
  });
}
//版本删除
export function sysUpgradeRemove(id) {
  return request({
    method: "delete",
    url: `/waste/sysUpgrade/remove/${id}`
  });
}
//版本保存
export function sysUpgradeSave(data) {
  return request({
    method: "post",
    url: "/waste/sysUpgrade/save",
    data
  });
}
//版本上传
export function uploadFile(data) {
  return request({
    method: "post",
    headers: {
      "Content-Type": "multipart/form-data"
    },
    url: "/waste/sysUpgrade/uploadFile",
    data
  });
}
